import Vue from "vue";
import Router from "vue-router";

Vue.use(Router);

const FirstPage = () => import("@/views/firstPage.vue");
const SecondPage = () => import("@/views/secondPage.vue");
const ThirdPage = () => import("@/views/thirdPage.vue");

export default new Router({
  routes: [
    {
      path: "/",
      name: "FirstPage",
      component: FirstPage,
    },
    {
      path: "/first",
      name: "FirstPage",
      component: FirstPage,
    },
    {
      path: "/second",
      name: "SecondPage",
      component: SecondPage,
    },
    {
      path: "/third",
      name: "ThirdPage",
      component: ThirdPage,
    },
  ],
});
